/**
 物资看板
 **/
import { http } from "@/utils/http";
//物资总览
export const getOverview = (data?: Record<string, any>) => {
  return http.request("get", "/erc/api/v1/materialKanban/overview", {
    data
  });
};
// 入库时间分析
export const getInDateAnalysis = (data?: object) => {
  return http.request("post", "/erc/api/v1/materialKanban/inDateAnalysis", {
    data
  });
};
// 库存健康分析
export const getStockHealthAnalysis= (data?: object) => {
  return http.request("post", "/erc/api/v1/materialKanban/stockHealthAnalysis", {
    data
  });
};
// 出入库数量趋势
export const getInOutCount = (data?: object) => {
  return http.request("post", "/erc/api/v1/materialKanban/inOutCount", {
    data
  });
};
// 出入库种类分析
export const getInOutTypeCount= (data?: object) => {
  return http.request("post", "/erc/api/v1/materialKanban/inOutTypeCount", {
    data
  });
};
